home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / mail / mailx6 / _setup.1 / OCXMSGF.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-01-22  |  6.5 KB  |  225 lines

  1. VERSION 4.00
  2. Begin VB.Form MsgForm 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   3  'Fixed Dialog
  5.    Caption         =   "Message Form"
  6.    ClientHeight    =   4125
  7.    ClientLeft      =   2055
  8.    ClientTop       =   3345
  9.    ClientWidth     =   6105
  10.    BeginProperty Font 
  11.       name            =   "MS Sans Serif"
  12.       charset         =   0
  13.       weight          =   700
  14.       size            =   8.25
  15.       underline       =   0   'False
  16.       italic          =   0   'False
  17.       strikethrough   =   0   'False
  18.    EndProperty
  19.    Height          =   4560
  20.    Left            =   1980
  21.    LinkTopic       =   "Form1"
  22.    MDIChild        =   -1  'True
  23.    ScaleHeight     =   4125
  24.    ScaleWidth      =   6105
  25.    Top             =   2985
  26.    Width           =   6255
  27.    Begin VB.PictureBox Picture1 
  28.       BackColor       =   &H00C0C0C0&
  29.       Height          =   615
  30.       Left            =   -120
  31.       ScaleHeight     =   555
  32.       ScaleWidth      =   6195
  33.       TabIndex        =   12
  34.       Top             =   0
  35.       Width           =   6255
  36.       Begin VB.CommandButton BtnSend 
  37.          Caption         =   "Send"
  38.          Height          =   375
  39.          Left            =   4305
  40.          TabIndex        =   16
  41.          Top             =   120
  42.          Width           =   1125
  43.       End
  44.       Begin VB.CommandButton BtnForward 
  45.          Caption         =   "Forward"
  46.          Height          =   375
  47.          Left            =   2880
  48.          TabIndex        =   15
  49.          Top             =   120
  50.          Width           =   1155
  51.       End
  52.       Begin VB.CommandButton btnReply 
  53.          Caption         =   "Reply"
  54.          Height          =   375
  55.          Left            =   1470
  56.          TabIndex        =   14
  57.          Top             =   120
  58.          Width           =   1170
  59.       End
  60.       Begin VB.CommandButton BtnHide 
  61.          Caption         =   "Hide Msg"
  62.          Height          =   375
  63.          Left            =   120
  64.          TabIndex        =   13
  65.          Top             =   120
  66.          Width           =   1125
  67.       End
  68.    End
  69.    Begin VB.ComboBox szFileList 
  70.       Height          =   315
  71.       Left            =   1320
  72.       TabIndex        =   11
  73.       Top             =   2775
  74.       Width           =   1935
  75.    End
  76.    Begin VB.TextBox szOriginator 
  77.       Height          =   375
  78.       Left            =   4440
  79.       TabIndex        =   10
  80.       Top             =   2760
  81.       Width           =   1575
  82.    End
  83.    Begin VB.TextBox szMsgID 
  84.       Height          =   495
  85.       Left            =   1320
  86.       TabIndex        =   7
  87.       Top             =   3240
  88.       Width           =   4695
  89.    End
  90.    Begin VB.TextBox szTime 
  91.       Height          =   375
  92.       Left            =   1200
  93.       TabIndex        =   6
  94.       Top             =   2280
  95.       Width           =   4815
  96.    End
  97.    Begin VB.TextBox szNoteText 
  98.       Height          =   855
  99.       Left            =   1200
  100.       MultiLine       =   -1  'True
  101.       TabIndex        =   3
  102.       Top             =   1320
  103.       Width           =   4815
  104.    End
  105.    Begin VB.TextBox szSubject 
  106.       Height          =   375
  107.       Left            =   1200
  108.       TabIndex        =   1
  109.       Top             =   840
  110.       Width           =   4815
  111.    End
  112.    Begin Mailx16Lib.MFile MFile1 
  113.       Left            =   120
  114.       Top             =   3600
  115.       _Version        =   65541
  116.       _ExtentX        =   900
  117.       _ExtentY        =   900
  118.       _StockProps     =   0
  119.       BindString      =   "MMsg1"
  120.    End
  121.    Begin Mailx16Lib.MReci MReci1 
  122.       Left            =   720
  123.       Top             =   3600
  124.       _Version        =   65541
  125.       _ExtentX        =   900
  126.       _ExtentY        =   900
  127.       _StockProps     =   0
  128.       BindString      =   "MMsg1"
  129.    End
  130.    Begin Mailx16Lib.MMsg MMsg1 
  131.       Left            =   360
  132.       Top             =   1680
  133.       _Version        =   65541
  134.       _ExtentX        =   900
  135.       _ExtentY        =   900
  136.       _StockProps     =   0
  137.       BindString      =   "FormTag1.MSess1"
  138.    End
  139.    Begin Mailx16Lib.MForm MForm1 
  140.       Left            =   3735
  141.       Top             =   3855
  142.       _Version        =   65541
  143.       _ExtentX        =   4048
  144.       _ExtentY        =   500
  145.       _StockProps     =   0
  146.       MXFormName      =   "FormTag3"
  147.    End
  148.    Begin VB.Label Label6 
  149.       BackColor       =   &H00C0C0C0&
  150.       Caption         =   "Attachments:"
  151.       Height          =   375
  152.       Left            =   120
  153.       TabIndex        =   9
  154.       Top             =   2760
  155.       Width           =   1215
  156.    End
  157.    Begin VB.Label Label5 
  158.       BackColor       =   &H00C0C0C0&
  159.       Caption         =   "Originator:"
  160.       Height          =   375
  161.       Left            =   3450
  162.       TabIndex        =   8
  163.       Top             =   2805
  164.       Width           =   960
  165.    End
  166.    Begin VB.Label Label4 
  167.       BackColor       =   &H00C0C0C0&
  168.       Caption         =   "Message ID:"
  169.       Height          =   375
  170.       Left            =   120
  171.       TabIndex        =   5
  172.       Top             =   3360
  173.       Width           =   1215
  174.    End
  175.    Begin VB.Label Label3 
  176.       BackColor       =   &H00C0C0C0&
  177.       Caption         =   "Time:"
  178.       Height          =   270
  179.       Left            =   150
  180.       TabIndex        =   4
  181.       Top             =   2355
  182.       Width           =   855
  183.    End
  184.    Begin VB.Label Label2 
  185.       BackColor       =   &H00C0C0C0&
  186.       Caption         =   "Note Text:"
  187.       Height          =   375
  188.       Left            =   120
  189.       TabIndex        =   2
  190.       Top             =   1320
  191.       Width           =   975
  192.    End
  193.    Begin VB.Label Label1 
  194.       BackColor       =   &H00C0C0C0&
  195.       Caption         =   "Subject:"
  196.       Height          =   375
  197.       Left            =   120
  198.       TabIndex        =   0
  199.       Top             =   840
  200.       Width           =   855
  201.    End
  202. Attribute VB_Name = "MsgForm"
  203. Attribute VB_Creatable = False
  204. Attribute VB_Exposed = False
  205. Private Sub BtnForward_Click()
  206.     MMsg1.NoteText = szNoteText
  207.     MMsg1.Action = ACTION_FORWARD
  208.     MMsg1.Action = ACTION_SENDMSG
  209. End Sub
  210. Private Sub BtnHide_Click()
  211.     Unload Me
  212. End Sub
  213. Private Sub btnReply_Click()
  214.     MMsg1.Action = ACTION_REPLY
  215.     MMsg1.Action = ACTION_SENDMSG
  216. End Sub
  217. Private Sub BtnSend_Click()
  218.     MMsg1.Subject = szSubject
  219.     MMsg1.NoteText = szNoteText
  220.     MMsg1.Action = ACTION_SENDMSG
  221.     If MMsg1.ErrorNum <> 0 Then
  222.         MsgBox "Error Sending Message"
  223.     End If
  224. End Sub
  225.